package eirkdbd.lab1.membership.functions;

import eirkdbd.lab1.membership.MembershipFunction;

public enum CustomMembershipFunctionFactory {
	GOALSCORING(new CustomMembershipFunction(102, 60, "Bramkostrzelnosc")),
	NOT_GOALSCORING(new CustomMembershipFunction(17, 30, "Bramkostrzelnosc")),
	GOALLOOSING(new CustomMembershipFunction(76, 60, "Asysty")),
	NOT_GOALLOOSING(new CustomMembershipFunction(17, 30, "Asysty")),
//	LOSING(new CustomMembershipFunction(0, 5, "Loses")),
//	NOT_LOSING(new CustomMembershipFunction(20, 15, "Loses")),
	WINNING(new CustomMembershipFunction(30, 18, "Mecze")),
	NOT_WINNING(new CustomMembershipFunction(3, 8, "Mecze")),
//	TIEING(new CustomMembershipFunction(14, 9, "Ties")),
//	NOT_TIEING(new CustomMembershipFunction(1, 5, "Ties")),
	WITH_GOOD_BALANCE(new CustomMembershipFunction(74, 30, "Agresywnosc")),
	NOT_WITH_GOOD_BALANCE(new CustomMembershipFunction(-40, 20, "Agresywnosc")),
	POINTSCORING(new CustomMembershipFunction(96, 60, "Celnosc")),
	NOT_POINTSCORING(new CustomMembershipFunction(16, 30, "Celnosc"));
	
		
	private MembershipFunction mf;
	
	private CustomMembershipFunctionFactory(MembershipFunction mf){
		this.mf = mf;
	}
	
	public MembershipFunction getMembershipFunction(){
		return mf;
	}
	
	
}
